package com.example.ruoyiakp.product.domain;


import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.AgrBaseEntity;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;

/**
 * @ClassName AgrAgriculturalDetect
 * @Description 质检实体类
 * @Author 陈萝瑶
 * @Date 2025/3/5 14:40
 */
@Data
public class AgrAgriculturalDetect extends AgrBaseEntity
{

    /** ID */
    @TableId(value = "detect_id",type = IdType.AUTO)
    private Long detectId;

    /** 批次ID */
    @Excel(name = "批次ID")
    private Long batchId;

    /** 批次 */
    @Excel(name = "批次")
    private String batchName;

    /** 质检类型 */
    @Excel(name = "质检类型")
    private String detectType;

    /** 农药残留 */
    @Excel(name = "农药残留")
    private BigDecimal pesResidues;

    /** 重金属残留 */
    @Excel(name = "重金属残留")
    private BigDecimal metalResidues;

    /** 微生物总数 */
    @Excel(name = "微生物总数")
    private BigDecimal micCount;

    /** 维生素C含量 */
    @Excel(name = "维生素C含量")
    private BigDecimal vcContent;

    /** 蛋白质含量 */
    @Excel(name = "蛋白质含量")
    private BigDecimal protContent;

    /** 碳水化合物含量 */
    @Excel(name = "碳水化合物含量")
    private BigDecimal carbonContent;

    /** 纤维含量 */
    @Excel(name = "纤维含量")
    private BigDecimal fiberContent;

    /** 检测结果（0不合格，1合格） */
    @Excel(name = "检测结果", readConverterExp = "0=不合格,1=合格")
    private Long detectResults;


    /** 检测员ID */
    private Long workerId;
    /** 检测人员姓名 */
    @Excel(name = "检测员")
    private String workerName;

}
